package com.atguigu.gulimallflow.service.impl;

import org.springframework.stereotype.Service;
import java.util.Map;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import utils.PageUtils;
import utils.Query;;

import com.atguigu.gulimallflow.dao.ActIdUserDao;
import com.atguigu.gulimallflow.entity.ActIdUserEntity;
import com.atguigu.gulimallflow.service.ActIdUserService;


@Service("actIdUserService")
public class ActIdUserServiceImpl extends ServiceImpl<ActIdUserDao, ActIdUserEntity> implements ActIdUserService {

    @Override
    public PageUtils queryPage(Map<String, Object> params) {
        IPage<ActIdUserEntity> page = this.page(
                new Query<ActIdUserEntity>().getPage(params),
                new QueryWrapper<ActIdUserEntity>()
        );

        return new PageUtils(page);
    }

}
